package TransactionImplementation

import (
	"SalaryPayment/DataBase"
	"SalaryPayment/TransactionApplication"
)

type DeleteEmployeeTransaction struct {
	itsEmpid int
	TransactionApplication.Transaction
}

func(det *DeleteEmployeeTransaction) Execute() {
	DataBase.PayrollDatabase.Default.DeleteEmployee(det.itsEmpid)
}